﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005A5 RID: 1445
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishPerformSectionIdCsReq : IMessage<FinishPerformSectionIdCsReq>, IMessage, IEquatable<FinishPerformSectionIdCsReq>, IDeepCloneable<FinishPerformSectionIdCsReq>, IBufferMessage
	{
		// Token: 0x17001286 RID: 4742
		// (get) Token: 0x060040F6 RID: 16630 RVA: 0x000B1BE5 File Offset: 0x000AFDE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishPerformSectionIdCsReq> Parser
		{
			get
			{
				return FinishPerformSectionIdCsReq._parser;
			}
		}

		// Token: 0x17001287 RID: 4743
		// (get) Token: 0x060040F7 RID: 16631 RVA: 0x000B1BEC File Offset: 0x000AFDEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishPerformSectionIdCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001288 RID: 4744
		// (get) Token: 0x060040F8 RID: 16632 RVA: 0x000B1BFE File Offset: 0x000AFDFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishPerformSectionIdCsReq.Descriptor;
			}
		}

		// Token: 0x060040F9 RID: 16633 RVA: 0x000B1C05 File Offset: 0x000AFE05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishPerformSectionIdCsReq()
		{
		}

		// Token: 0x060040FA RID: 16634 RVA: 0x000B1C18 File Offset: 0x000AFE18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishPerformSectionIdCsReq(FinishPerformSectionIdCsReq other) : this()
		{
			this.sectionId_ = other.sectionId_;
			this.itemList_ = other.itemList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060040FB RID: 16635 RVA: 0x000B1C4E File Offset: 0x000AFE4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishPerformSectionIdCsReq Clone()
		{
			return new FinishPerformSectionIdCsReq(this);
		}

		// Token: 0x17001289 RID: 4745
		// (get) Token: 0x060040FC RID: 16636 RVA: 0x000B1C56 File Offset: 0x000AFE56
		// (set) Token: 0x060040FD RID: 16637 RVA: 0x000B1C5E File Offset: 0x000AFE5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SectionId
		{
			get
			{
				return this.sectionId_;
			}
			set
			{
				this.sectionId_ = value;
			}
		}

		// Token: 0x1700128A RID: 4746
		// (get) Token: 0x060040FE RID: 16638 RVA: 0x000B1C67 File Offset: 0x000AFE67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MessageItem> ItemList
		{
			get
			{
				return this.itemList_;
			}
		}

		// Token: 0x060040FF RID: 16639 RVA: 0x000B1C6F File Offset: 0x000AFE6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishPerformSectionIdCsReq);
		}

		// Token: 0x06004100 RID: 16640 RVA: 0x000B1C80 File Offset: 0x000AFE80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishPerformSectionIdCsReq other)
		{
			return other != null && (other == this || (this.SectionId == other.SectionId && this.itemList_.Equals(other.itemList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004101 RID: 16641 RVA: 0x000B1CD0 File Offset: 0x000AFED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SectionId != 0U)
			{
				num ^= this.SectionId.GetHashCode();
			}
			num ^= this.itemList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004102 RID: 16642 RVA: 0x000B1D1D File Offset: 0x000AFF1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004103 RID: 16643 RVA: 0x000B1D25 File Offset: 0x000AFF25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004104 RID: 16644 RVA: 0x000B1D30 File Offset: 0x000AFF30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.itemList_.WriteTo(ref output, FinishPerformSectionIdCsReq._repeated_itemList_codec);
			if (this.SectionId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.SectionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004105 RID: 16645 RVA: 0x000B1D80 File Offset: 0x000AFF80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SectionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SectionId);
			}
			num += this.itemList_.CalculateSize(FinishPerformSectionIdCsReq._repeated_itemList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004106 RID: 16646 RVA: 0x000B1DD4 File Offset: 0x000AFFD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishPerformSectionIdCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SectionId != 0U)
			{
				this.SectionId = other.SectionId;
			}
			this.itemList_.Add(other.itemList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004107 RID: 16647 RVA: 0x000B1E21 File Offset: 0x000B0021
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004108 RID: 16648 RVA: 0x000B1E2C File Offset: 0x000B002C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SectionId = input.ReadUInt32();
					}
				}
				else
				{
					this.itemList_.AddEntriesFrom(ref input, FinishPerformSectionIdCsReq._repeated_itemList_codec);
				}
			}
		}

		// Token: 0x04001993 RID: 6547
		private static readonly MessageParser<FinishPerformSectionIdCsReq> _parser = new MessageParser<FinishPerformSectionIdCsReq>(() => new FinishPerformSectionIdCsReq());

		// Token: 0x04001994 RID: 6548
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001995 RID: 6549
		public const int SectionIdFieldNumber = 14;

		// Token: 0x04001996 RID: 6550
		private uint sectionId_;

		// Token: 0x04001997 RID: 6551
		public const int ItemListFieldNumber = 9;

		// Token: 0x04001998 RID: 6552
		private static readonly FieldCodec<MessageItem> _repeated_itemList_codec = FieldCodec.ForMessage<MessageItem>(74U, MessageItem.Parser);

		// Token: 0x04001999 RID: 6553
		private readonly RepeatedField<MessageItem> itemList_ = new RepeatedField<MessageItem>();
	}
}
